package com.atguigu.demo.mapper;

import com.atguigu.demo.entity.Tiger;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TigerMapper {
    List<Tiger> selectTigerListByCondition(Tiger condition);

    void updateTigerByCondition(Tiger condition);

    List<Tiger> selectTigerListByTrim(Tiger condition);

    List<Tiger> selectTigerListByChoose(Tiger condition);

    void batchInsert(@Param("tigerList") List<Tiger> tigerList);

    void batchUpdate(List<Tiger> tigerList);
}
